<template>
  <div class="navBar">
    <div class="navBar_left">
      <slot name="navBar_left"></slot>
    </div>
    <div class="navBar_center">
      <slot name="navBar_center"></slot>
    </div>
    <div class="navBar_right">
      <slot name="navBar_right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NavBar'
}
</script>

<style lang="scss" scoped>
.navBar {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  display: flex;
  height: 44px;
  line-height: 44px;
  text-align: center;
  z-index: 9;

  .navBar_center {
    flex: 1;
  }

  .navBar_left,
  .navBar_right {
    width: 60px;
  }
}
</style>
